package com.acegear.horizon.domain.models;

import java.util.List;

import com.acegear.horizon.ApplicationContextProvider;
import com.acegear.horizon.domain.events.processers.EventProcessor;
import com.acegear.horizon.domain.models.jpa.ClubBankCard;
import com.acegear.horizon.domain.models.jpa.ClubLabel;
import com.acegear.horizon.domain.repository.jpa.ClubBankCardRepository;
import com.acegear.horizon.domain.repository.jpa.ClubLabelRepository;

public class ClubSetting {
	
	private List<ClubLabel> labelList;
	
	private List<ClubBankCard> bankCardList;
	
	private EventProcessor eventProcessor;

//	private ClubRepository clubRepository;

	private ClubLabelRepository clubLabelRepository;

	private ClubBankCardRepository clubBankCardRepository;

	public void init() {
//		clubBaseRepository = ApplicationContextProvider.getBean(ClubBaseRepository.class);

		clubLabelRepository = ApplicationContextProvider.getBean(ClubLabelRepository.class);

		clubBankCardRepository = ApplicationContextProvider.getBean(ClubBankCardRepository.class);
		
		eventProcessor = ApplicationContextProvider.getBean("eventProcessor", EventProcessor.class);
	}
}
